<!DOCTYPE html>

<html lang="en" xmlns:th="http://www.thymeleaf.org">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
		<meta name="description" content="">
		<meta name="author" content="">

		<title>添加商品大分类</title>
		<!-- Bootstrap core CSS -->
		<link href="asserts/css/bootstrap.min.css" th:href="@{/asserts/css/bootstrap.min.css}" rel="stylesheet">

		<!-- Custom styles for this template -->
		<link href="asserts/css/dashboard.css" th:href="@{/asserts/css/dashboard.css}" rel="stylesheet">

	</head>

	<body>
		<!-- 插入顶部部分topbar !-->
		<div th:replace="commons/bar::#topBar"></div>
		<div class="container-fluid">
			<div class="row">
				<!--插入左侧部分sidebar-->
				<div th:replace="commons/bar::#sidebar(activeUri='manage/admin')"></div>

				<main role="main" class="col-md-9 ml-sm-auto col-lg-10 pt-3 px-4">

                    <form th:action="@{/manage/updateSuper}" method="post">
                        <div class="form-group">
                            <label for="typeName">大分类名称</label>
							<h3 th:text="${super.typeName}">类名</h3>
							<input type="hidden" name="ID" th:value="${super.ID}" />
<!--							<input type="hidden" name="_method" value="put">-->
                            <input name="typeName" type="text" class="form-control" id="typeName" >
                            <small id="emailHelp" class="form-text text-muted">输入修改的大分类的名称</small>
                        </div>

                        <button type="submit" class="btn btn-primary">修 改</button>
                        <a   class="btn btn-secondary" href="javascript:history.back(-1);">返 回</a>
                    </form>

				</main>
			</div>
		</div>

		<!-- Bootstrap core JavaScript
    ================================================== -->
		<!-- Placed at the end of the document so the pages load faster -->
		<script type="text/javascript" src="asserts/js/jquery-3.2.1.slim.min.js" th:src="@{/asserts/js/jquery-3.2.1.slim.min.js}" ></script>
		<script type="text/javascript" src="asserts/js/popper.min.js" th:src="@{/asserts/js/popper.min.js}" ></script>
		<script type="text/javascript" src="asserts/js/bootstrap.min.js" th:src="@{/asserts/js/bootstrap.min.js}" ></script>

		<!-- Icons -->
		<script type="text/javascript" src="asserts/js/feather.min.js" th:src="@{/asserts/js/feather.min.js}" ></script>
		<script>
			feather.replace()
		</script>


	</body>

</html>